package com.magenta.maxoptra.gis.distancematrix;

/**
 * Priority of update (sorted by priority, don't change order)
 *
 * @author Sergey Grachev
 */
public enum UpdateRequestType {

    NONE,
    SCHEDULE,
    IMMEDIATELY;

    public static UpdateRequestType max(final UpdateRequestType a, final UpdateRequestType b) {
        return a.ordinal() > b.ordinal() ? a : b;
    }
}
